let editor = {
    editor: null,
    initialize: function(vue) {
        this.editor = vue;
    },
    open: function() {
        this.editor.open();
    },
    close: function() {
        this.editor.close();
    },
    setDraggable: function(params) {
        this.editor.setDraggable(params);
    },
    setUrl: function(params) {
        this.editor.setUrl(params);
    },
    setType: function(params) {
        this.editor.setType(params);
    },
    setMethod: function(params) {
        this.editor.setMethod(params);
    },
    setValue: function(params) {
        this.editor.setValue(params);
    },
    setInterval: function(params) {
        this.editor.setInterval(params);
    },
    setMode: function(params) {
        this.editor.setMode(params);
    },
    setDataRetrunType: function(params) {
        this.editor.setDataRetrunType(params);
    },
    setField: function(params) {
        this.editor.setField(params);
    },
    setComplete: function(params) {
        this.editor.setComplete(params);
    }
}

export default editor;